<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="OnCheckBoxChangedModAlert.aspx.cs" Inherits="ModAlert_OnCheckBoxChangedModAlert"
	Title="OnCheckBoxChangedModAlert - ModWatch" %>
<asp:Content ContentPlaceHolderID="Head" Runat="Server">
</asp:Content>
<asp:Content ContentPlaceHolderID="PageContent" Runat="Server">

	<h2>OnCheckBoxChangedModAlert Control</h2>

	<p>
		The OnCheckBoxChangedModAlert control checks for changes
		when the value of a check box has been changed.
	</p>

	<p>
		&lt;asp:CheckBox AutoPostBack="true" Text="CheckBox Test" ID="cbTest" runat="server" />
		<br />
		&lt;mw:OnCheckBoxChangedModAlertExtender TargetControlID="cbTest" runat="server"
		<br />
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		NotifyModMessage="Changes have been made. Do you want to continue?" />

		<br /><br />
		
	</p>
	
	<p>
		Change the value of this text box, and select a different
		<br />
		value for the check box to test this ModAlert control.
		<br />
		<asp:TextBox ID="txtTest" runat="server" />
		<mw:TextBoxModWatcherExtender TargetControlID="txtTest" runat="server" />

		<br /><br />

		<asp:CheckBox AutoPostBack="true" Text="CheckBox Test" ID="cbTest" runat="server" />
		<mw:OnCheckBoxChangedModAlertExtender TargetControlID="cbTest" runat="server"
			NotifyModMessage="Changes have been made. Do you want to continue?" />

		<br /><br />

		<asp:Button Text="Save Changes" OnClick="btnSave_Click" ID="btnSave" runat="server" />

		<br /><br />
		
		Page last served: <asp:Label ID="lblLastServed" runat="server"></asp:Label>
		<br />
		Change detected on server? <asp:Label ID="lblServerChange" runat="server"></asp:Label>
	</p>

</asp:Content>
